#ifndef __MACRO__H
#define __MACRO__H

#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h> 
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <netdb.h>

#define ZERO '\0'
#define PORT 9999
#define MAX_TRY 1000

int Connect ();

void error (char *msg);

ssize_t Read (int fd, const void *buf, size_t nbyte);

ssize_t Write (int fd, const void *buf, size_t nbyte);

#endif
